import time
import calendar
print(time.time())
print(time.localtime())
print(time.asctime())
print(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime()))
print(calendar.month(2021,11))#日历